home *** CD-ROM | disk | FTP | other *** search
- /*
- * spawn and control a subprocess, from Garfinkel and Mahoney, vol 1
- */
- #import <appkit/appkit.h>
-
- @interface Process:Object
- {
- int toProcess[2];
- int fromProcess[2];
- int pid;
- BOOL fdHandlerInstalled;
- }
-
- - initFromCommand:(char **)argv;
- - free;
- - (int)toFd;
- - (int)fromFd;
- - writeLine:(const char *)aLine;
- - dpsWatchFD:(DPSFDProc)handler
- data:(void *)userData priority:(int)pri;
- @end